package me.xlgp.xiquzimu.util;

import java.util.List;

public class StringUtil {
    public static String join(List<Integer> list, String delimiter){
        if (list == null) return null;
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < list.size(); i++) {
            sb.append(list.get(i));
            if (i == list.size() - 1){continue;}
            sb.append(",");
        }
        return sb.toString();
    }
}
